Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STENCIL-2493 - Do not display "none" option for required pick lists #929

Merged
merged 1 commit into from
Feb 21, 2017
Merged

STENCIL-2493 - Do not display "none" option for required pick lists #929

merged 1 commit into from
Feb 21, 2017

Conversation

bookernath
Copy link
Contributor

Correctly hiding the “none” option for required pick lists (without
photo)

I've also verified that this works with and without a default selection on the option.

Proof:

image

@bigbot
Copy link

bigbot commented Feb 18, 2017

Autotagging @mcampa @bc-miko-ademagic @davidchin

@@ -51,6 +52,7 @@
{{#if defaultValue '==' 0}}checked{{/if}}
{{#if required}}required{{/if}}>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this if statement redundant then?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suppose so! I'll update.

@bookernath
Copy link
Contributor Author

@bc-miko-ademagic updated.

@mcampa
Copy link
Contributor

mcampa commented Feb 20, 2017

I think we should test this before merging

@nickdengler
Copy link
Contributor

Tested on integration store 💚

Correctly hiding the “none” option for required pick lists (without
photo)
Copy link
Contributor

@mcampa mcampa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@mcampa mcampa merged commit 495ad1c into bigcommerce:master Feb 21, 2017
@bookernath bookernath deleted the STENCIL-2493 branch February 21, 2017 02:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants